﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ZCSign.aspx.cs" Inherits="WXYW.ZCSign" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    转储申请表 - 审批
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<div class="buttonHeader" align="right">
        <img src="image/operateicon/back_back.gif" alt="" />
        <asp:LinkButton ID="backLinkButton" runat="server"
            CausesValidation="false">返回</asp:LinkButton>
        &nbsp;&nbsp;
        <img src="image/operateicon/check.gif" alt="" />
        <asp:LinkButton ID="okLinkButton" runat="server" OnClick="okLinkButton_Click">保存</asp:LinkButton>
        &nbsp;&nbsp;</div>
    <table width="100%" style="line-height: 25px">
        <tr style="text-align: center">
            <td colspan="4" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>转储申请表</b>
            </td>
        </tr>
        <tr>
            <td style="width: 15%">
                申请单号:
            </td>
            <td style="width: 35%">
                <asp:Label ID="applicationCodeLbl" runat="server"></asp:Label>
            </td>
            <td style="width: 15%">
                申请日期:
            </td>
            <td style="width: 35%">
                <asp:Label ID="applicationDateLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                转出工厂:
            </td>
            <td>
                <asp:Label ID="fromFactoryLbl" runat="server"></asp:Label>
            </td>
            <td>
                转入工厂:
            </td>
            <td>
                <asp:Label ID="toFactoryLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                转出库存地:
            </td>
            <td>
                <asp:Label ID="fromKCLbl" runat="server"></asp:Label>
            </td>
            <td>
                转入库存地:
            </td>
            <td>
                <asp:Label ID="toKCLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                申请人:
            </td>
            <td>
                <asp:Label ID="applicantLbl" runat="server"></asp:Label>
            </td>
            <td>
                第一审批人:
            </td>
            <td>
                <asp:Label ID="user1Lbl1" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                第二审批人:
            </td>
            <td>
                <asp:Label ID="user2Lbl1" runat="server"></asp:Label>
            </td>
            <td>
                第三审批人:
            </td>
            <td>
                <asp:Label ID="user3Lbl1" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                备注:
            </td>
            <td colspan="3">
                <asp:Label ID="commentLbl" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 25px">
        <tr style="text-align: center">
            <td colspan="4" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>申请详单</b>
            </td>
        </tr>
    </table>
    <asp:GridView ID="materialGridView" runat="server" CssClass="tableList" Width="100%" AutoGenerateColumns="false">
        <Columns>
            <asp:BoundField HeaderText="物料编号" DataField="MaterilNO" />
            <asp:BoundField HeaderText="物料名称" DataField="MaterialName" />
            <asp:BoundField HeaderText="单位" DataField="DW" />
            <asp:BoundField HeaderText="转出数量" DataField="OutCount" />
            <asp:BoundField HeaderText="转出库存状态" DataField="outStatus" />
            <asp:BoundField HeaderText="转入数量" DataField="InCount" />
            <asp:BoundField HeaderText="转入库存状态" DataField="InStatus" />
            <asp:BoundField HeaderText="备注" DataField="Comment" />
        </Columns>                
    </asp:GridView>
    <table width="100%" style="line-height: 25px">
        <tr>
            <td colspan="6" align="center" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>审核信息</b>
            </td>
        </tr>
        <% if (Request.QueryString[WXYW.Constants.QUERYSTR_STATUS] == "2" ||
               Request.QueryString[WXYW.Constants.QUERYSTR_STATUS] == "3")
           { %>
        <tr>
            <td style="width: 10%">
                第一审批人：
            </td>
            <td style="width: 10%">
                <asp:Label ID="user1Lbl" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                审批时间：
            </td>
            <td style="width: 10%">
                <asp:Label ID="user1SignDateLbl" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                审批意见：
            </td>
            <td style="width: 50%">
                <asp:Label ID="user1SignCommentLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <% if (Request.QueryString[WXYW.Constants.QUERYSTR_STATUS] == "3")
           { %>
        <tr>
            <td style="width: 10%">
                第二审批人：
            </td>
            <td style="width: 10%">
                <asp:Label ID="user2Lbl" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                审批时间：
            </td>
            <td style="width: 10%">
                <asp:Label ID="user2SignDateLbl" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
                审批意见：
            </td>
            <td style="width: 50%">
                <asp:Label ID="user2SignCommentLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <tr>
            <td style="width: 10%">
                审核意见:
            </td>
            <td style="width: 20%" colspan="2">
                <asp:RadioButtonList ID="shtypeRadioList" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Text="同意" Value="同意"></asp:ListItem>
                    <asp:ListItem Text="驳回" Value="驳回"></asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td style="width: 60%" colspan="3">
                <asp:TextBox ID="commentTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
        </tr>
    </table>
</asp:Content>
